package com.bh.order.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单货品明细对象 jc_order_product
 *
 * @author slx
 * @date 2023-04-22
 */
@EqualsAndHashCode(callSuper = true)
@TableName("jc_order_product")
@Data
public class JcOrderProduct extends BhtmsBaseEntity implements Serializable {
    

    /**
     * 货品类型
     */
    @Excel(name = "货品类型")
    private Integer type;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Integer number;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;
    /**
     * 包装类型
     */
    @Excel(name = "包装类型")
    private String packageType;
    @TableField(exist = false)
    private String packageTypeLabel;

    /**
     * 货值
     */
    @Excel(name = "货值")
    private BigDecimal value;

    /**
     * 体积
     */
    @Excel(name = "体积")
    private BigDecimal volume;

    /**
     * 重量
     */
    @Excel(name = "重量")
    private BigDecimal weight;

    /**
     * 订单ID
     */
    @Excel(name = "订单ID")
    private Long jcOrderId;

    /**
     * 计重
     */
    @Excel(name = "计重")
    private BigDecimal jzWeight;
}
